package com.framework.Application;

import android.app.Application;
import android.os.Handler;
import android.support.annotation.CallSuper;

public class FrameApplication extends Application
{

	public static FrameApplication frameApplication;
	public Handler mHandler;

	/**
	 * 获取FrameApplication的单例
	 *
	 * @return ApplicationController singleton instance
	 */
	public static FrameApplication getInstance()
	{
		return frameApplication;
	}

	@CallSuper
	@Override
	public void onCreate()
	{
		super.onCreate();
		frameApplication = this;
		mHandler = new Handler();
	}

}
